<!DOCTYPE html>
<html>
	<head>
		<s3:data name='MeetingDatas.headerScript' />
  		<s3:import type="css"></s3:import>
		<title>扫描二维码签到</title>
	</head>
	<body>
		<div class="meeting-sign-container"></div>
		
		<!--异常模版-->
		<script type="text/html" id="signTpl-error">
			<% var data = this; %>
			<div class="sign-header">
				<img src="${data:dependencies.meeting}/img/meetingSign.png${data:buildversion}"/>
			</div>
			<div class="sign-content">
				<div class="sign-error">
					<%=data.errorMsg%>
				</div>
				<div class="sign-meeting-name">
					<%=data.meetingName%>
				</div>
			</div>
		</script>
		
		<!--正常模版-->
		<script type="text/html" id="signTpl-normal">
			<% var data = this; %>
			<div class="sign-normal-header">
				<div class="sign-meeting-name">
					<%=data.meetingName%>
				</div>
			</div>
			<div class="sign-normal-content">
				<div class="sign-area">
					<p class="sign-label"><%=data.meetingSignTips%></p>
					<p class="sign-time">
						<%=data.meetingSignTime%>
					</p>
					<p class="sign-date">
						<%=data.meetingSignDate%>
					</p>
				</div>
			</div>
			
			<div class="sign-btn">
				<button class="cmp-btn <%=(data.meetingSignBtnShow ? 'active' : '')%>"><%=data.meetingSignBtn%></button>
				<p class="sign-btn-tips"><%=data.meetingBeginTips%></p>
			</div>
		</script>
		
		<s3:data name='cordova' />  
		<script src="${data:dependencies.cmp}/js/cmp-i18n.js${data:buildversion}"></script>
		<s3:import type="js"></s3:import>
		<script type="text/javascript">
		   var $verstion = "${data:buildversion}";
		   var _meetingPath = "${data:dependencies.meeting}";
		   var _collPath = "${data:dependencies.collaboration}";  
		   var _common_v5_path = "${data:dependencies.common_v5_path}";
		   var _cmpPath = "${data:dependencies.cmp}";
	       cmp.i18n.init("${data:dependencies.meeting}/i18n/", "MeetingResources");
	    </script>
	    <script src="${data:dependencies.meeting}/js/meetingSign.js${data:buildversion}"></script>
	</body>
</html>
